home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
APC & TCP 4
/
APC & TCP 4.iso
/
cdsystem
/
rexxc
/
listfiles.rexx
next >
Wrap
OS/2 REXX Batch file
|
1996-09-28
|
271b
|
15 lines
/* just to avoid using sed... */
parse arg Filename
do while ~eof('STDIN')
Line=readln('STDIN')
Line=translate(Line,'','09'X)
Index=lastpos('#',Line)
if (Index>0) then
Line=left(Line,Index-1)
Line=word(Line,1)
if (pos('/',Line)>0) then
say Line
end